package com.ewanghuiju.app.base.contract.my;

import com.ewanghuiju.app.base.BasePresenter;
import com.ewanghuiju.app.base.BaseView;
import com.ewanghuiju.app.model.bean.response.VersionResponBean;

/**
 * @author sj  qq:751943509
 * @class 首页
 * @time 2020/2/16
 */
public interface MainContract {

    interface View extends BaseView {

//        void showUserInfo(UserInfoResponBean bean);    //用户信息

//        void showUserInfoError();

        void showUpgradeInfo(VersionResponBean versionResponBean);//更新信息
    }

    interface Presenter extends BasePresenter<View> {

        void getUserInfo();

        void getUpgradeInfo(String version, String type);//获取更新提醒

    }
}
